# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ResourceOrderQueryCondition(object):

    def __init__(self, id=None, pin=None, resourceId=None, appCode=None, serviceCodeList=None, region=None, networkOperator=None, billingType=None, resourceIdList=None, expireInDays=None, isOnTrial=None, site=None, status=None, billingStatus=None, expiringInDays=None, billingTypeList=None, transactionNos=None, opTypes=None, startTime=None, endTime=None, serviceCode=None, statusList=None, excludeResources=None, orderByClaus=None, node=None, departmentId=None, pinList=None, isSpecial=None, nodeCode=None, timeout=None, pageIndex=None, pageSize=None, offset=None):
        """
        :param id: (Optional) 主键id
        :param pin: (Optional) 用户pin(pin、resourceId、resourceIdList 必传一个)
        :param resourceId: (Optional) 资源id(pin、resourceId、resourceIdList 必传一个)
        :param appCode: (Optional) appCode
        :param serviceCodeList: (Optional) 产品码列表
        :param region: (Optional) 地域
        :param networkOperator: (Optional) 网络类型 0: non-BGP, 1: BGP
        :param billingType: (Optional) 计费类型 1:按配置 2:按用量 3:包年包月
        :param resourceIdList: (Optional) resourceIdList(pin、resourceId、resourceIdList 必传一个)
        :param expireInDays: (Optional) >0: 订单还有几天到期; ==0: 订单已经到期; <0: 不管是否到期
        :param isOnTrial: (Optional) isOnTrial
        :param site: (Optional) 站点信息 0:中国 1:国际
        :param status: (Optional) 资源状态 1:正常 2:停服 3:删除
        :param billingStatus: (Optional) 计费状态 0:停止计费 1:计费中
        :param expiringInDays: (Optional) 1、内部计算，使用getExpiringOrderCount时使用，不用传值 默认为-1mybatis筛选时不会关注 2、selectResourceOrderForTask定时任务查询列表时使用，停服天数，必须大于0
        :param billingTypeList: (Optional) billingTypeList
        :param transactionNos: (Optional) 交易单号列表
        :param opTypes: (Optional) 
        :param startTime: (Optional) 开始时间
        :param endTime: (Optional) 结束时间
        :param serviceCode: (Optional) 服务编码
        :param statusList: (Optional) statusList
        :param excludeResources: (Optional) excludeResources
        :param orderByClaus: (Optional) orderByClaus
        :param node: (Optional) 专有云节点的code（节点云查询使用）
        :param departmentId: (Optional) 部门（节点云查询使用）
        :param pinList: (Optional) 
        :param isSpecial: (Optional) 是否是专有云 1:是  其他不是
        :param nodeCode: (Optional) 节点信息
        :param timeout: (Optional) 超时时间，暂时不用
        :param pageIndex: (Optional) 当前页序号
        :param pageSize: (Optional) 每页结果数量
        :param offset: (Optional) 
        """

        self.id = id
        self.pin = pin
        self.resourceId = resourceId
        self.appCode = appCode
        self.serviceCodeList = serviceCodeList
        self.region = region
        self.networkOperator = networkOperator
        self.billingType = billingType
        self.resourceIdList = resourceIdList
        self.expireInDays = expireInDays
        self.isOnTrial = isOnTrial
        self.site = site
        self.status = status
        self.billingStatus = billingStatus
        self.expiringInDays = expiringInDays
        self.billingTypeList = billingTypeList
        self.transactionNos = transactionNos
        self.opTypes = opTypes
        self.startTime = startTime
        self.endTime = endTime
        self.serviceCode = serviceCode
        self.statusList = statusList
        self.excludeResources = excludeResources
        self.orderByClaus = orderByClaus
        self.node = node
        self.departmentId = departmentId
        self.pinList = pinList
        self.isSpecial = isSpecial
        self.nodeCode = nodeCode
        self.timeout = timeout
        self.pageIndex = pageIndex
        self.pageSize = pageSize
        self.offset = offset
